<?php 
	//$this->retrievePages();
	//dg($result);
	// foreach($pages as $page)
	// {
	// 	sw($page->title);
	// }
?>

<header id="header">
	<hgroup>
		<h1 class="site_title"><a href="index.html">Website Admin</a></h1>
		<h2 class="section_title">Dashboard</h2><div class="btn_view_site"><a href="http://www.medialoot.com">View Site</a></div>
	</hgroup>
</header> <!-- end of header bar -->

<section id="secondary_bar">
	<div class="user">
		<p>John Doe (<a href="#">3 Messages</a>)</p>
		<!-- <a class="logout_user" href="#" title="Logout">Logout</a> -->
	</div>
	<div class="breadcrumbs_container">
		<article class="breadcrumbs"><a href="index.html">Website Admin</a> <div class="breadcrumb_divider"></div> <a class="current">Dashboard</a></article>
	</div>
</section><!-- end of secondary bar -->

<aside id="sidebar" class="column">
	<form class="quick_search">
		<input type="text" value="Quick Search" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;">
	</form>
	<hr/>
	<h3>Páginas</h3>
	<ul class="toggle">
		<li class="icn_new_article"><a href="#">New Article</a></li>
		<li class="icn_edit_article"><a href="#">Edit Articles</a></li>
		<li class="icn_categories"><a href="#">Categories</a></li>
		<li class="icn_tags"><a href="#">Tags</a></li>
	</ul>
	<h3>Usuários</h3>
	<ul class="toggle">
		<li class="icn_add_user"><a href="#">Add New User</a></li>
		<li class="icn_view_users"><a href="#">View Users</a></li>
		<li class="icn_profile"><a href="#">Your Profile</a></li>
	</ul>

	<h3>Admin</h3>
	<ul class="toggle">
		<li class="icn_settings"><a href="#">Options</a></li>
		<li class="icn_security"><a href="#">Security</a></li>
		<li class="icn_jump_back"><a href="#">Logout</a></li>
	</ul>
	
	<footer>
		<hr />
		<p><strong>Copyright &copy; 2011 Website Admin</strong></p>
		<p>Theme by <a href="http://www.medialoot.com">MediaLoot</a></p>
	</footer>
</aside><!-- end of sidebar -->
	
	
